<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>点击“拨打电话”联系车主</title>
    <style>
        body {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: Arial, sans-serif;
            text-align: center;
            background-image: url('./images/2024bg.jpg');
            background-size: cover;
            background-repeat: no-repeat;
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100vw;
            height: calc(100vh - 40px);
        }

        h1 {
            color: #e38d12;
        }

        .contact-info {
            margin-bottom: 20px;
        }

        .call-button {
            width: 150px;
            padding: 10px 20px;
            font-size: 16px;
            background-color: #e38d12;
            color: #fff;
            border: none;
            font-weight: bold;
            border-radius: 5px;
            cursor: pointer;
            position: absolute;
            bottom: 40px;
            left: 32vw;
        }

        .img {
            display: block;
            width: 100%;
            object-fit: cover;
        }
    </style>
</head>

<body>
    <div class="box">
        <div class="contact-info">
            <h1>临时停靠 请多关照</h1>
        </div>
        <button class="call-button" onclick="callOwner()">拨打电话</button>
    </div>
    <script>
        function callOwner() {
            window.location.href = 'tel:19184845572';
        }
    </script>

</body>

</html>